<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .baba{
            visibility: hidden;
            /* hidden 元素隐藏
            visible元素可视
            隐藏元素后,继续占有原来的位置 */

            width: 200px;height: 200px;
            background-color: rebeccapurple;
        }
        .ma{
            width: 200px;
            height: 200px;
            background-color: skyblue;
        }
    </style>
</head>
<body>
    <div class="baba">aa</div>
    <div class="ma">ma</div>
</body>
</html>